package com.bdqn.zhang.service.impl;

import com.bdqn.zhang.mapper.DeptMapper;
import com.bdqn.zhang.service.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("deptService")
public class DeptServiceImpl implements DeptService {

    @Resource
    private DeptMapper deptMapper;

    @Override
    public String getDeptNameById(Integer id) {
        return deptMapper.getDeptNameById(id);
    }
}
